.attivio-globalmast {
  .clearfix();
  background-color: @attivio-masthead-bg-color1;
  #gradient > .horizontal(@attivio-masthead-bg-color1; @attivio-masthead-bg-color2);
  color: #fff;

  font-size: 1.6rem; /* 16px /10 */
}

/* Container layout */
.attivio-globalmast > .attivio-container {
  display: table;
  min-height: 3.1rem; /* 31px /10 */
  width: 100%;
  margin: 0;
}
@media (min-width: 1700px) {
  .attivio-globalmast > .attivio-container {
    margin: 0 auto;
  }
}
.attivio-globalmast-spacer {
  display: table-cell;
  width: 100%;
}

/* Logo */
.attivio-globalmast-logo {
  padding: 0 1.125em 0 0; /* 18px /16 */
}
.attivio-globalmast .attivio-globalmast-logo {
  display: table-cell;
  height: 3.5625em; /* 57px /16 */
  vertical-align: middle;
  padding: 0.8125em; /* 13px /16 */
  padding-right: 1.25em; /* 20px /16 */
  padding-left: 0;
}
.attivio-globalmast-logo-img {
  max-width: 6em; /* 140px /16 */
}
.attivio-globalmast .attivio-globalmast-logo-img {
  margin-top: -10px;
}

/* Separator */
.attivio-globalmast-separator {
  position: relative;
}
.attivio-globalmast-separator.before:before,
.attivio-globalmast-separator.after:after {
  content: " ";
  position: absolute;
  top: -2px;
  bottom: -2px;
  border-right: 1px solid rgb(46, 117, 179);
  transform: rotate(24deg);
}
.attivio-globalmast-separator.before:before {
  left: 0;
}
.attivio-globalmast-separator.after:after {
  right: 0;
}

/* Icons */
.attivio-globalmast-icon.attivio-icon-arrow-down-blue,
.attivio-globalmast-icon.attivio-icon-arrow-down-yellow {
  display: inline-block;
  width: 11px;
  height: 7px;
}

/* App Name */
.attivio-globalmast-appname {
  color: #97e7ff;
  padding: 0 2em; /* 22px /11 */
  text-transform: uppercase;
  font-size: 0.6875em; /* 11px /16 */
  line-height: 1.1;
  font-weight: 100;
  letter-spacing: 0.125em;
}
.attivio-globalmast-appname.nowrap,
.attivio-globalmast-appname .nowrap {
  white-space: nowrap;
}
.attivio-globalmast .attivio-globalmast-appname {
  display: table-cell;
  vertical-align: middle;
}

/* User Menu */
.attivio-globalmast-user {
  text-align: right;
  font-size: 0.8125em; /* 13px /16 */
  padding: 0 .5em 0 1.384615384615em; /* 18px /13 */
  min-width: 9.846153846154em; /* 128px /13 */
  white-space: nowrap;
}
.attivio-globalmast .attivio-globalmast-user {
  display: table-cell;
  vertical-align: middle;
}

/* Menu */
.attivio-globalmast-menu {
  padding: 0 1em;
}
.attivio-globalmast .attivio-globalmast-menu {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}
.attivio-globalmast-menu-nav,
.attivio-globalmastnavbar-menu-nav {
  display: table;
  list-style: none;
  padding: 0;
  margin: 0;
}
.attivio-globalmast-menu-nav > li,
.attivio-globalmastnavbar-menu-nav > li {
  display: table-cell;
  vertical-align: middle;
}
.attivio-globalmast-menu-nav-link {
  height: 57px;
  white-space: nowrap;
  padding: 18px 11px 18px 16px;
  color: #d0d3da;
}
.attivio-globalmast-menu-nav-link:hover,
.attivio-globalmast-menu-nav-link:focus {
  color: #fff;
}
.attivio-globalmast-menu-nav-link + .dropdown-menu {
  top: ~"calc(100% + 20px)";
  left: -1px;
}
.attivio-dropdown.open .attivio-globalmast-menu-nav-link {
  background-color: #2e75b3;
  color: #fff;
}

.attivio-globalmast-menu-nav > li > a,
.attivio-globalmastnavbar-menu-nav > li > a {
  display: block;
  padding: 0 0.7333333333333em; /* 11px /15 */
  font-size: 0.9375em; /* 15px /16 */
  font-weight: 400;
  white-space: nowrap;
}
.attivio-globalmastnavbar-menu-nav > li:first-child > a {
  padding-left: 0;
}
.attivio-globalmast-menu-nav > li > a,
.attivio-globalmast-menu-nav > li > a:visited {
  color: #d0d3da;
}
.attivio-globalmastnavbar-menu-nav > li > a,
.attivio-globalmastnavbar-menu-nav > li > a:visited {
  color: #666;
}
.attivio-globalmast-menu-nav-active,
.attivio-globalmast-menu-nav-active:hover,
.attivio-globalmast-menu-nav-active:focus {
  color: #fff;
}
.attivio-globalmast-menu-nav-active:hover,
.attivio-globalmast-menu-nav-active:focus,
.attivio-globalmastnavbar-menu-nav-active:hover {
  text-decoration: none;
}
.attivio-globalmast-menu-nav-active-text,
.attivio-globalmastnavbar-menu-nav-active-text {
  border-bottom: 2px solid #f9c448;
}
.attivio-globalmastnavbar-menu-nav-active-text {
  color: #000;
  font-weight: 700;
  border-color: #2a73b2;
}

/* Globalmast Tab Links */
.attivio-globalmast .attivio-globalmast-tabpanel {
  padding-left: 1.785714285714em; /* 25px /14 */
  padding-right: 1.285714285714em; /* 18px /14 */
  font-size: @font-size-base;
  display: table-cell;
  vertical-align: middle;
}
.attivio-globalmast-tabpanel > .nav-tabs,
.attivio-globalmastnavbar-tabpanel > .nav-tabs {
  position: static;
  top: auto;
  border-color: transparent;
  margin-left: 0;
  margin-top: -5px;
  margin-bottom: -5px;
  white-space: nowrap;
}
.attivio-globalmast-tabpanel > .nav-tabs > li,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li {
  display: inline-block;
  float: none;
  width: auto;
  font-weight: 400;
}
.attivio-globalmast-tabpanel > .nav-tabs > li {
  color: #b2dce8;
  border-top-color: #155e97;
  background-color: #234776;
}
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li {
  color: #6d6e70;
  border-top-color: #dedfe0;
  background-color: #ebeced;
}
.attivio-globalmast-tabpanel > .nav-tabs > li + li,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li + li {
  margin-left: -4px;
  /* TODO visual artifacts when borders mix */
  border-left: 1px solid #000;
}
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li + li {
  /* TODO visual artifacts when borders mix */
  border-left-color: #fff;
}
.attivio-globalmast-tabpanel > .nav-tabs > li:first-child,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li:first-child {
  border-radius: 3px 0 0 3px;
}
.attivio-globalmast-tabpanel > .nav-tabs > li:last-child,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li:last-child {
  border-radius: 0 3px 3px 0;
}
.attivio-globalmast-tabpanel > .nav-tabs > li > a,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li > a {
  border-radius: 0;
  margin: 0;
}
.attivio-globalmast-tabpanel > .nav-tabs > li > a,
.attivio-globalmast-tabpanel > .nav-tabs > li > :visited {
  color: #b2dce8;
}
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li > a,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li > :visited {
  color: #6d6e70;
}
.attivio-globalmast-tabpanel > .nav-tabs > li.active,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li.active {
  font-weight: 700;
  color: #fff;
  border-top-color: #f9c448;
  background-color: #3276b1;
}
.attivio-globalmast-tabpanel > .nav-tabs > li.active:before,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li.active:before {
  display: none;
}
.attivio-globalmast-tabpanel > .nav-tabs > li.active > a,
.attivio-globalmast-tabpanel > .nav-tabs > li.active > :visited,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li.active > a,
.attivio-globalmastnavbar-tabpanel > .nav-tabs > li.active > :visited {
  color: #fff;
}

/* Globalmast Search component */
.attivio-globalmast-search {
  position: relative;
  /* max-width: 37.14285714286em; /* 520px /14 */
  width: ~"calc(100% - 50px)";
  max-width: 650px;
  display: inline-block;
}

.attivio-globalmast-search .form-group .attivio-dropdown {
  width: 100%;
}

.attivio-globalmast-search-container {
  display: table-cell;
  vertical-align: middle;
  padding-right: 1.285714285714em; /* 18px /14 */
  width: 100%;
}
.attivio-globalmast-search-label {
  display: block;
}
.attivio-globalmast-search-input {
  #gradient > .horizontal(@start-color: #243e64; @end-color: #376698);
  border: none;
  color: #fff;
  font-weight: 700;
  padding-top: 11px;
  padding-bottom: 10px;
  padding-right: 6.428571428571em; /* 90px /14 */
}
.attivio-globalmast-search-input::-webkit-input-placeholder {
  font-weight: 400;
  color: #bbe7f2;
}
.attivio-globalmast-search-input::-moz-placeholder {
  font-weight: 400;
  color: #bbe7f2;
}
.attivio-globalmast-search-input:-ms-input-placeholder {
  font-weight: 400;
  color: #bbe7f2;
}
.attivio-globalmast-search-input:focus,
.attivio-globalmast-search-input.focus {
  background: #fff;
  color: #231F20;
}
.attivio-globalmast-search-input:focus::-webkit-input-placeholder,
.attivio-globalmast-search-input.focus::-webkit-input-placeholder {
  color: #A6A8AB;
}
.attivio-globalmast-search-input:focus::-moz-placeholder,
.attivio-globalmast-search-input.focus::-moz-placeholder {
  color: #A6A8AB;
}
.attivio-globalmast-search-input:focus:-ms-input-placeholder,
.attivio-globalmast-search-input.focus:-ms-input-placeholder {
  color: #A6A8AB;
}
@supports( box-shadow: none ) {
  .attivio-globalmast-search-input:focus,
  .attivio-globalmast-search-input.focus {
    outline: none;
    box-shadow: 0 0 0 4px #2E75B3;
  }
}
.attivio-globalmast-search-submit {
  position: absolute;
  right: 0;
  top: 0;
  margin: 4px;
  color: #fff;
  text-transform: none;
  min-width: 0;
  box-shadow: none;
  border: none;
  background-color: #2E75B3;
  font-size: 1em; /* 14px /14 */
  padding: 2px 0.8571428571429em; /* 12px /14 */
  height: ~"calc( 100% - 8px )";

  &:hover,
  &:focus,
  &.focus {
    color: #fff;
    background-color: darken( #2E75B3, 5% );
  }
}
.attivio-globalmast-search-mic-icon {
  width: 13px;
  position: absolute;
  right: 4.285714285714em; /* 60px /14 */
  top: 0;
  height: 100%;
  background-position: 50% 50%;
}
.attivio-globalmast-search .form-group {
  margin: 0;
}

/* Secondary Navbar */
.attivio-globalmastnavbar {
  padding: 1.3rem; /* 13px /10 */
  border-bottom: 1px solid #e0e1e2;
  box-shadow: 0 3px 0 0 rgba(0,0,0,0.03);
}
.attivio-globalmastnavbar-right {
  float: right;
  position: relative;
  margin-left: .5em;
}
.attivio-globalmastnavbar-results {
  display: inline-block;
  font-weight: bold;
  font-size: 0.9285714285714em; /* 13px /14 */
  min-width: 13.84615384615em; /* 180px /13 */
  margin-right: 1em;
}
.attivio-globalmastnavbar-filter {
  display: inline-block;
  font-size: 0.9285714285714em; /* 13px /14 */
  font-weight: bold;
  margin-right: 1em;
}
.attivio-globalmastnavbar-filter-link {
  padding-right: 1.230769230769em; /* 16px /13 */
  background-position: 100% 48%;
}
.attivio-globalmastnavbar-filter-link,
.attivio-globalmastnavbar-filter-link:visited {
  color: #2E75B3;
}
/* Overrides */
.attivio-globalmastnavbar .attivio-globalmastnavbar-btn {
  margin-top: -6px;
}

/* Pagination */
.attivio-globalmastnavbar-pagination {
  border: 1px solid #BBBDBF;
  border-radius: 3px;
  display: table;
  font-weight: 700;
}
.attivio-globalmastnavbar-pagination-page,
.attivio-globalmastnavbar-pagination-previous,
.attivio-globalmastnavbar-pagination-next {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
}
.attivio-globalmastnavbar-pagination-page {
  padding: 0 1em;
  font-size: 0.9285714285714em; /* 13px /14 */
}
.attivio-globalmastnavbar-pagination-previous,
.attivio-globalmastnavbar-pagination-next {
  text-indent: -9999px;
  background-position: 50% 50%;
  border-radius: 0;
  padding-left: 1em;
  padding-right: 1em;
  background-color: transparent;
}
.attivio-globalmastnavbar-pagination-previous {
  border-width: 0 1px 0 0;
}
.attivio-globalmastnavbar-pagination-next {
  border-width: 0 0 0 1px;
}
/* Overrides */
/*
.attivio-globalmastnavbar .attivio-globalmastnavbar-pagination {
  margin-top: -4px;
}
*/
.attivio-globalmastnavbar .attivio-globalmastnavbar-pagination .attivio-globalmastnavbar-btn {
  margin-top: 0;
}
